<?php

/**
 * 
 */
class Z_Html_Image extends Z_Component {

    public $src;
    public $class;
    public $alt;

    public function __construct($src,$alt="",$class="") {
        parent::__construct();
        $this->src = $src;
        $this->alt = $alt;
        $this->class = $class;

    }

    public function render() {
        return "<img src=\"{$this->src}\" class=\"{$this->class}\" />";
    }

   

}